package com.example.demo.repository;

import com.example.demo.dataobject.Treatment;
import org.springframework.data.jpa.repository.JpaRepository;

public interface TreatmentRepository extends JpaRepository<Treatment,Integer> {
//    Treatment findByTelephone(String telephone);
    Treatment findByUserId(Integer userId);
}
